import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { IntegralController } from './integral.controller';
import { IntegralService } from './integral.service';
import { IntegralLog, IntegralLogSchema } from './schemas/integral-log.schema';
import { UserModule } from '../user/user.module';

@Module({
  imports: [
    MongooseModule.forFeature([{ name: IntegralLog.name, schema: IntegralLogSchema }]),
    UserModule,
  ],
  controllers: [IntegralController],
  providers: [IntegralService],
})
export class IntegralModule {} 